import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';

const project: AppRouteModule = {
  path: '/equipmentControl',
  name: 'EquipmentControl',
  component: LAYOUT,
  redirect: '',
  id: '9',
  meta: {
    orderNo: 9,
    icon: 'ant-design:code-outlined',
    title: '设备控制',
  },
  children: [
    {
      id: '9-1',
      path: 'issued',
      name: 'InstructionIssuance',
      component: () => import('/@/views/project/equipmentControl/issued.vue'),
      meta: {
        title: '指令下发',
      },
    },
    {
      id: '9-2',
      path: 'journal',
      name: 'IssuanceJournal',
      component: () => import('/@/views/project/equipmentControl/journal.vue'),
      meta: {
        title: '指令下发日志',
      },
    },
  ],
};

export default project;
